Skip to content

Split pyi type stubs - #1416

Merged
jcupitt merged 2 commits into
libvips:masterfrom
KurtBoehm:master
Jul 30, 2026
Merged

Split pyi type stubs #1416
jcupitt merged 2 commits into
libvips:masterfrom
KurtBoehm:master

Conversation

@KurtBoehm

Copy link
Copy Markdown
Contributor

This PR splits the pyi type stubs into one per Python file and imports the relevant components in __init__.pyi. This allows type checkers to handle imports such as from pyvips.voperation import Operation correctly.

@jcupitt

jcupitt commented Jul 30, 2026

Copy link
Copy Markdown
Member

Ooop, sorry @KurtBoehm, this dropped off my todo list somehow.

@jcupitt jcupitt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@jcupitt
jcupitt merged commit 627601a into libvips:master Jul 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants